<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi.cn@gmail.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------
// config.php 2013-02-25

//定义回调URL通用的URL
define('URL_CALLBACK', 'http://www.hongbeiq.com/index.php?m=User&c=Login&a=callback&type=');
define('QQ_CALLBACK', 'http://www.hongbeiq.com/user/login/callback/type/qq');

return array(

    //腾讯QQ登录配置
    'THINK_SDK_QQ' => array(
    'APP_KEY'    => '101213178', //应用注册成功后分配的 APP ID
    'APP_SECRET' => 'a9af56b95dc43fa3f625bf4ffe99f99f', //应用注册成功后分配的KEY
    'CALLBACK'   => QQ_CALLBACK,
),
    //新浪微博配置
    'THINK_SDK_SINA' => array(
    'APP_KEY'    => '2727033632', //应用注册成功后分配的 APP ID
    'APP_SECRET' => '2395754c49efe3c91897d1a5a265a19d', //应用注册成功后分配的KEY
    'CALLBACK'   => URL_CALLBACK . 'sina',
),

);